import { storeToRefs } from "pinia";
import { userStore } from "@/pinia/modules/user";
import { controlStore } from '@/pinia/modules/controller';
const useUserStore = userStore();
const useControlStore = controlStore()
const {
  diamond_balance,
  ticket_num,
  remind,
  newStakeType,
  webType,
  room_id
} = storeToRefs(useUserStore)
const {
  playState,
  outcome,
  cattleLeft,
  cattleLeftArr,
  hasStakeList,
  ticketTop,
  ticketLeft,
  cattleArr1,
  cattleArr2,
  stakeType,
  stakeMaxList,
  round,
  timekeepingTime,
  showWinner,
  GameResult,
  winList,
  betsStatus,
  specialPool,
  hastenSet
} = storeToRefs(useControlStore)
export {
  diamond_balance,
  ticket_num,
  playState,
  outcome,
  cattleLeft,
  cattleLeftArr,
  hasStakeList,
  ticketTop,
  ticketLeft,
  cattleArr1,
  cattleArr2,
  stakeType,
  stakeMaxList,
  round,
  timekeepingTime,
  showWinner,
  GameResult,
  winList,
  betsStatus,
  remind,
  newStakeType,
  specialPool,
  hastenSet,
  webType,
  room_id
}